123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : 문진 질문은행
- * 설 명 :
- * 설 계 자 : 이성인
- * 작 성 자 : 이성인
- * 작 성 일 :
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>문진 질문은행관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <condition>
- <instcd/>
- <qrcl/>
- <lang/>
- <wkdate/>
- <flag/>
- <cplang/>
- </condition>
- <list>
- <amqblist/>
- <amawlist/>
- </list>
- </main>
- <hidden>
- <dspcontrol>
- <amqbCurrow/>
- <amawCurrow/>
- </dspcontrol>
- </hidden>
- <tmp>
- </tmp>
- <send>
- <amqblist/>
- <amawlist/>
- <langlst/>
- <subretrive>
- <instcd/>
- <inqrqestid/>
- <langflag/>
- </subretrive>
- </send>
- <disply>
- <qrcllst/>
- <langlst/>
- </disply>
- <init>
- <A0008list>
- <A0008>
- <cdnm/>
- <cdid/>
- </A0008>
- </A0008list>
- </init>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../ast/healexamautojudgweb/js/AJDG001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- // fAuthCheck(btn_save);
-
- // fDefaultSubmit();
- // fDefaultSet();
- // model.refresh();
- ]]>
- </script>
- <submission id="TRAHB04101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/langlst" resultref="/root/disply/langlst"/>
- <submission id="TRAHB04601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/condition" resultref="/root/disply/qrcllst"/>
- <submission id="TXAHB04602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/amqblist" resultref="/root/tmp"/>
- <submission id="TXAHB04603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/amawlist" resultref="/root/tmp"/>
- <submission id="TRAHB04604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/condition" resultref="/root/main/list/amqblist"/>
- <submission id="TRAHB04605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/subretrive" resultref="/root/main/list/amawlist"/>
- <submission id="TXAHB04606" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/condition" resultref="/root/tmp"/>
- <submission id="TRAHB03805" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fInit(){
- model.resetInstanceNode("/root/disply/langid");
- model.removeNodeset("/root/main/list/amqblist");
- model.removeNodeset("/root/main/list/amawlist");
- var instcd = getUserInfo("dutplceinstcd");
- model.setValue("/root/main/condition/instcd",instcd);
-
- var sToday = getCurrentDate().toString();
- model.setValue("/root/main/condition/wkdate",sToday);
- model.setValue("/root/main/condition/qrcl","");
- model.setValue("/root/main/condition/lang","");
- model.setValue("/root/main/condition/cplang","");
-
-
- // -- 문진언어 combo box에 setting
- // model.setValue("/root/main/condition/flag","LANG")
- // model.makeNode("/root/send/langlst");
- // model.copyNode("/root/send/langlst", "/root/main/condition");
-
- //건진공통코드 조회
- fGetHealexamCodeList( new Array( "A0008"),
- new Array("/root/init/A0008list") );
-
- submit("TRAHB04101",false); // 문진언어
- submit("TRAHB04601",false); // 문진분류
-
- // 언어 셋팅
- // fGetHealexamCodeList( new Array("A0008"),
- // new Array("/root/init/A0008list") );
- model.refresh()
- }
-
- // ----------------------------------------------------
- // 질문 내용 조회
- // ----------------------------------------------------
- function fRetriveAmqbList()
- {
- model.removeNodeset("/root/main/list/amqblist");
- model.removeNodeset("/root/main/list/amawlist");
- model.resetInstanceNode("/root/hidden/dspcontrol/amqbCurrow");
- model.resetInstanceNode("/root/hidden/dspcontrol/amawCurrow");
-
-
- submit("TRAHB04604",true); // 질문내용조회
- model.refresh();
- }
- // ----------------------------------------------------
- // 질문 답안 조회
- // ----------------------------------------------------
- function fRetriveAmawList(rowNum)
- {
- model.removeNodeset("/root/main/list/amawlist");
- model.resetInstanceNode("/root/hidden/dspcontrol/amawCurrow");
-
- var sInstcd;
- var sinqrid;
- var slangflag;
-
- sInstcd = grd_amqb.valueMatrix(rowNum, grd_amqb.colRef("amqb_instcd")) ;
- sinqrid = grd_amqb.valueMatrix(rowNum, grd_amqb.colRef("amqb_inqrqestid")) ;
- slangflag = grd_amqb.valueMatrix(rowNum, grd_amqb.colRef("amqb_langflag")) ;
-
- model.setValue("/root/send/subretrive/instcd",sInstcd);
- model.setValue("/root/send/subretrive/inqrqestid",sinqrid);
- model.setValue("/root/send/subretrive/langflag",slangflag);
-
- submit("TRAHB04605",true); // 질문내용조회
- }
-
- // ----------------------------------------------------
- // 그리드 Row 추가 삭제 - 추가 일경우 기본 데이타 세팅
- // ----------------------------------------------------
- function fAddDelRow(sGrd, sStatus)
- {
- var rowNum;
-
- if ( sGrd == "amqb") {
- // -- 질문 추가 버튼
- if(sStatus == "A")
- {
- grd_amqb.addRow();
- rowNum = grd_amqb.row;
- fGridDefaultDataSet("amqb", rowNum);
- }
- else
- {
- deleteSelectedRows(grd_amqb, true);
- //model.refresh();
- }
- }
- else
- {
- // -- 질문 답안 추가 버튼
- if(sStatus == "A")
- {
- var amqbRow;
- var inqrid;
- var langcd;
-
- amqbRow = model.getValue("/root/hidden/dspcontrol/amqbCurrow");
- inqrid = grd_amqb.valueMatrix(amqbRow, grd_amqb.colRef("amqb_inqrqestid")) ;
- langcd = grd_amqb.valueMatrix(amqbRow, grd_amqb.colRef("amqb_langflag")) ;
-
- if (inqrid == "") {
- model.alert("질문 항목이 선택되지 않았습니다","알림");
- return ;
- }
-
- grd_amaw.addRow();
- grd_amaw.valueMatrix(grd_amaw.row, grd_amaw.colRef("amaw_instcd")) = getUserInfo("dutplceinstcd");
- grd_amaw.valueMatrix(grd_amaw.row, grd_amaw.colRef("amaw_inqrqestid")) = inqrid ;
- grd_amaw.valueMatrix(grd_amaw.row, grd_amaw.colRef("amaw_langflag")) = langcd ;
-
- model.refresh();
- }
- else
- {
- deleteSelectedRows(grd_amaw, true);
- // model.refresh();
- }
-
- }
-
- }
-
- // ----------------------------------------------------
- // Grid 행추가시 Default 데이타
- // ----------------------------------------------------
- function fGridDefaultDataSet(sGrd, sRow)
- {
-
- if ( sGrd == "amqb") {
- grd_amqb.valueMatrix(sRow, grd_amqb.colRef("amqb_instcd")) = getUserInfo("dutplceinstcd");
- grd_amqb.valueMatrix(sRow, grd_amqb.colRef("amqb_ajclscd")) = model.getValue("/root/main/condition/qrcl");
- grd_amqb.valueMatrix(sRow, grd_amqb.colRef("amqb_langflag")) = model.getValue("/root/main/condition/lang");
- grd_amqb.valueMatrix(sRow, grd_amqb.colRef("amqb_registdd")) = model.getValue("/root/main/condition/wkdate");
- grd_amqb.valueMatrix(sRow, grd_amqb.colRef("amqb_enddd")) = "99991231";
- grd_amqb.valueMatrix(sRow, grd_amqb.colRef("amqb_choitype")) = "2"; // 단일선택
- grd_amqb.valueMatrix(sRow, grd_amqb.colRef("amqb_sexflag")) = "C"; // 성별 : 공통
- grd_amqb.valueMatrix(sRow, grd_amqb.colRef("amqb_qestflag")) = "Q"; // 질문유형 :질문
- grd_amqb.valueMatrix(sRow, grd_amqb.colRef("amqb_useyn")) = "Y"; // 사용여부 :사용
- }
- }
- // ----------------------------------------------------
- // 하위 질문 생성
- // ----------------------------------------------------
- function fAddUnderQuery(sGrd) {
- var rowCnt;
- var rowNum ; // 상위 질문
- var insNum ; // 하위 질문
- var supQrid ; // 상위 질문 ID
-
- var supRpid ; // 상위 답안 ID
- var rpRowNum ; // 상위 답안 ID
-
- rowCnt = grd_amqb.rows - 1;
- rowNum = model.getValue("/root/hidden/dspcontrol/amqbCurrow");
-
- // --- 상위 질문이 선택 여부 확인 ---
- if ( rowNum == "") {
- model.alert("상위 질문을 클릭하여 주십시요");
- return;
- }
- // --- 선택된 row의 질문 Id가 새 질문의 상위 질문 코드가 된다. ---
- supQrid = grd_amqb.valueMatrix(rowNum, grd_amqb.colRef("amqb_inqrqestid")) ;
- if (supQrid == "") {
- model.alert("상위 질문코드가 입력되어 있지 않습니다 확인 바랍니다");
- return;
- }
-
- // --- 답안의 하위질문추가2 버튼 클릭시 ---
- if (sGrd == "amaw") {
- rpRowNum = model.getValue("/root/hidden/dspcontrol/amawCurrow");
- if ( rpRowNum == "") {
- model.alert("상위 답안을 클릭하여 주십시요");
- return;
- }
- supRpid = grd_amaw.valueMatrix(rpRowNum, grd_amaw.colRef("amaw_answreqno")) ;
- if (supRpid == "") {
- model.alert("상위 답안 코드가 입력되어 있지 않습니다 확인 바랍니다");
- return;
- }
- }
- // --- 행을 추가하고 기본 데이타를 입력 ---
- if ( rowCnt == rowNum ) {
- grd_amqb.addRow();
- insNum = grd_amqb.row;
- } else
- {
- insNum = parseInt(rowNum)+1;
- grd_amqb.insertRow (insNum);
- }
-
- // --- 기본 데이타 세팅 ---
- fGridDefaultDataSet("amqb", insNum);
- grd_amqb.valueMatrix(insNum, grd_amqb.colRef("amqb_supinqrqestid")) = supQrid ;
-
- if (sGrd == "amaw") {
- grd_amqb.valueMatrix(insNum, grd_amqb.colRef("amqb_supinswseqno")) = supRpid ;
- }
-
- }
- // ----------------------------------------------------
- // 동일 답안 선택 저장 기능
- // ----------------------------------------------------
- function fSameAnswSave() {
- var rtnVal;
- var rowQCnt;
- var rowRCnt;
- var inqrid;
-
- rtnVal = fAmawDefaultValuechek()
- if ( rtnVal > 1 ) {
- model.alert("답안에 Default 값이 하나 이상 선택되어 있습니다.. 수정하시기 바랍니다")
- return;
- }
-
- fAmqbSave() ; // 질문을 저장하고
-
- rowQCnt = grd_amqb.Rows;
- rowRCnt = grd_amaw.Rows;
-
- for(var i =1; i < rowQCnt ; i++)
- {
- if ( grd_amqb.valueMatrix(i, grd_amqb.colRef("samchk")) == "Y" ) {
- inqrid = grd_amqb.valueMatrix(i, grd_amqb.colRef("amqb_inqrqestid"));
-
- // -- 답안의 질문ID 변경 후 저장
- for(var j =1; j < rowRCnt ; j++)
- {
- grd_amaw.valueMatrix(j, grd_amaw.colRef("amaw_inqrqestid")) = inqrid ;
- grd_amaw.rowStatus(j) = 1;
- }
- fAmawSave() ;
- }
- }
- return 0;
-
- }
- // ----------------------------------------------------
- //화면 그리드 조절
- // ----------------------------------------------------
- function fGridWidthcontrol(sGrd,sStatus)
- {
- // 질문 내역 그리드를 늘릴때
- if ( sGrd == "amqb") {
- if(sStatus == "W") {
- grd_amqb.attribute ("width") ="1190px";
- grd_amaw.visible = false;
- }
- }
- // 답안 내역 그리드를 늘릴때
- if ( sGrd == "amaw") {
- if(sStatus == "W") {
- grd_amaw.visible = true;
- grd_amqb.attribute ("width") = "380px";
- grd_amaw.attribute ("left") = "385px";
- grd_amaw.attribute ("width") ="805px";
- }
- }
- // 원래 그대로 돌아갈때
- if(sStatus == "N") {
- grd_amaw.visible = true;
- grd_amqb.attribute ("width") = "660px";
- grd_amaw.attribute ("left") = "670px";
- grd_amaw.attribute ("width") = "520px";
- }
- }
-
- // ----------------------------------------------------
- //데이터 처리
- // ----------------------------------------------------
- function fSave() {
- var rtnVal;
- rtnVal = fAmawDefaultValuechek();
- if ( rtnVal > 1 ) {
- model.alert("답안에 Default 값이 하나 이상 선택되어 있습니다.. 수정하시기 바랍니다")
- return;
- }
- fAmqbSave() ;
- fAmawSave() ;
- }
- // -- 질문 저장
- function fAmqbSave() {
- model.setValue("/root/send/amqblist", grd_amqb.getUpdateData());
- submit("TXAHB04602");
- }
- // -- 답안 저장
- function fAmawSave() {
- model.setValue("/root/send/amawlist", grd_amaw.getUpdateData());
- submit("TXAHB04603");
- }
-
- // ----------------------------------------------------
- // 답안에 디폴트 값이 하나 이상 선택되어 있는가 check
- // ----------------------------------------------------
- function fAmawDefaultValuechek() {
- var rowCnt;
- var totCnt;
- rowCnt = grd_amaw.Rows;
- totCnt = 0;
-
- for(var i =1; i < rowCnt ; i++)
- {
- if ( grd_amaw.valueMatrix(i, grd_amaw.colRef("amaw_defaulyn")) == "Y" ) {
- totCnt++ ;
- if ( totCnt > 1) {
- return totCnt;
- }
- }
- }
- return 0;
- }
-
-
- // -- 다른 언어로의 Copy 기능
- function fCopy() {
-
- var OrgLang ;
- var CopLang ;
-
- OrgLang =model.getValue("/root/main/condition/lang");
- CopLang =model.getValue("/root/main/condition/cplang")
-
-
- if ( OrgLang == "" )
- {
- model.alert("복사 할 원 언어를 선택하여 주세요...","알림");
- return;
- }
-
- if ( CopLang == "" )
- {
- model.alert("복사 할 대상 언어를 선택하여 주세요...","알림");
- return;
- }
-
- if ( OrgLang == CopLang )
- {
- model.alert("같은 분류로 복사 할 수 없습니다...","알림");
- return;
- }
-
- submit("TXAHB04606");
- model.setValue("/root/main/condition/lang",CopLang);
- fRetriveAmqbList();
- }
-
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:525px; height:13px; ">[자동판정]문진 질문은행 관리</caption>
- </group>
- <group id="grp_btn" style="left:0px; top:722px; width:1195px; height:33px; ">
- <button id="button3" class="btn4_letter3" style="left:1122px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.reload();
- // fInit();
- // model.refresh();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter2" style="left:1065px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- fRetriveAmqbList();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn4_letter4" style="left:985px; top:5px; width:80px; height:22px; ">
- <caption>동일답안</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSameAnswSave();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:707px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- ]]>
- </script>
- <col ref="ajrm_rmhng"/>
- <group id="group5" style="left:0px; top:10px; width:1190px; height:40px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1190px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRetriveAmqbList();
- ]]>
- </script>
- </button>
- <line id="line2" style="x1:1115px; y1:9px; x2:1115px; y2:31px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption4" class="search_name" style="left:470px; top:10px; width:91px; height:17px; ">문진언어 :</caption>
- <select1 id="combo4" ref="/root/main/condition/qrcl" class="combo_s_essential" appearance="minimal" style="left:94px; top:10px; width:190px; height:19px; ">
- <choices>
- <itemset nodeset="/root/disply/qrcllst">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //btn_search.dispatch("DOMActivate");
- // model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="search_name" style="left:4px; top:10px; width:91px; height:17px; ">문진분류 :</caption>
- <select1 id="combo3" ref="/root/main/condition/cplang" class="combo_s_essential" appearance="minimal" style="left:675px; top:10px; width:75px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0008list/A0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption10" style="left:810px; top:0px; width:220px; height:35px; font-weight:normal; color:#993366; ">
- <![CDATA[::복사할언어선택후 복사버튼클릭!!
- (문진분류화면의 분류 번호대로 들어감)]]>
- </caption>
- <button id="button7" class="btn5_letter2" visibility="visible" style="left:760px; top:10px; width:42px; height:19px; ">
- <caption>복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCopy();
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/main/condition/lang" appearance="minimal" style="left:560px; top:10px; width:75px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0008list/A0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input2" ref="/root/main/condition/wkdate" class="input_s_essential" inputtype="date" style="left:355px; top:10px; width:105px; height:19px; "/>
- <caption id="caption7" class="search_name" style="left:290px; top:10px; width:65px; height:17px; ">일자 :</caption>
- <button id="button10" class="icon_right" style="left:640px; top:10px; width:26px; height:19px; ">
- <caption/>
- </button>
- </group>
- <datagrid id="grd_amaw" nodeset="/root/main/list/amawlist" autoresize="true" caption="기관코드^질문ID^언어^답ID^제목^내용^순서^디폴트^추가질문1^추가질문2^추가질문3^요약" colsep="^" colwidth="0, 0, 0, 32, 0, 217, 35, 45, 140, 140, 140, 32" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:670px; top:80px; width:520px; height:625px; ">
- <col ref="amaw_instcd" visibility="hidden"/>
- <col ref="amaw_inqrqestid" visibility="hidden"/>
- <col ref="amaw_langflag" visibility="hidden"/>
- <col disabled="true" ref="amaw_answreqno" type="output"/>
- <col ref="amaw_answtitl" visibility="hidden"/>
- <col ref="amaw_answcnts" type="input"/>
- <col ref="amaw_seq" type="input" maxlength="2"/>
- <col checkvalue="Y,N" ref="amaw_defaulyn" type="checkbox"/>
- <col ref="amaw_addqest1" type="input"/>
- <col ref="amaw_addqest2" type="input"/>
- <col ref="amaw_addqest3" type="input"/>
- <col checkvalue="Y,N" ref="amaw_summyn" type="checkbox"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var Currow = grd_amaw.row;
- model.setValue("/root/hidden/dspcontrol/amawCurrow", Currow );
- ]]>
- </script>
- </datagrid>
- <button id="btn_addqest" class="btn2_letter3" style="left:553px; top:55px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddDelRow("amqb", "A");
- ]]>
- </script>
- </button>
- <caption id="caption3" class="tit_2" style="left:671px; top:59px; width:87px; height:13px; ">답안</caption>
- <button id="btn_delitem" class="btn2_letter3" style="left:607px; top:55px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddDelRow("amqb", "D");
- ]]>
- </script>
- </button>
- <button id="btn_delqest" class="btn2_letter3" style="left:1137px; top:55px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddDelRow("amaw", "D");
- ]]>
- </script>
- </button>
- <button id="btn_additem" class="btn2_letter3" style="left:1083px; top:55px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddDelRow("amaw", "A");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter7" visibility="visible" style="left:985px; top:55px; width:97px; height:19px; ">
- <caption>종속질문추가2</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddUnderQuery("amaw", "A");
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter7" visibility="visible" style="left:454px; top:55px; width:97px; height:19px; ">
- <caption>하위질문추가1</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddUnderQuery("amqb", "A");
- ]]>
- </script>
- </button>
- <caption id="caption5" class="tit_2" style="left:5px; top:59px; width:80px; height:13px; ">질문</caption>
- <button id="button5" class="icon_right" visibility="visible" style="left:373px; top:55px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGridWidthcontrol("amqb" ,"W");
- ]]>
- </script>
- </button>
- <button id="button8" class="icon_left" visibility="visible" style="left:427px; top:55px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGridWidthcontrol("amaw" ,"W");
- ]]>
- </script>
- </button>
- <button id="button9" class="icon_top_direction" visibility="visible" style="left:400px; top:55px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGridWidthcontrol("amqb" ,"N");
- ]]>
- </script>
- </button>
- <datagrid id="grd_amqb" nodeset="/root/main/list/amqblist" autoresize="true" caption="기관코드^ ^문진분류^언어^질문번호^문ID^유형^^상위답^질문제목^질문내용^답안형태^성별^시작일^종료일^사용^상위질문^상위답변^상위조건^요약^최초입력자^최초수정자" colsep="^" colwidth="0, 26, 160, 0, 0, 29, 35, 29, 44, 110, 390, 59, 47, 88, 88, 37, 0, 0, 0, 34, 78, 85" fixedcols="2" mergecells="never" mergecellsfixedrows="byrestriccol" rowheader="update" rowsep="|" style="left:0px; top:80px; width:660px; height:625px; ">
- <col ref="amqb_instcd" visibility="hidden"/>
- <col checkvalue="Y,N" ref="samchk" type="checkbox"/>
- <col ref="amqb_ajclscd" type="combo">
- <choices>
- <itemset nodeset="/root/disply/qrcllst">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="amqb_langflag" visibility="hidden"/>
- <col ref="amqb_qestno" visibility="hidden"/>
- <col disabled="true" ref="amqb_inqrqestid" type="output" maxlength="10"/>
- <col editmode="search" ref="amqb_qestflag" type="combo">
- <choices>
- <item>
- <label>질문</label>
- <value>Q</value>
- </item>
- <item>
- <label>설명</label>
- <value>E</value>
- </item>
- </choices>
- </col>
- <col ref="amqb_subclf"/>
- <col ref="amqb_supinswseqno" type="input"/>
- <col ref="amqb_qesttitl" type="input"/>
- <col ref="amqb_qestcnts" type="input" style="left:430px; top:23px; width:348px; height:23px; "/>
- <col ref="amqb_choitype" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>자유입력</label>
- <value>1</value>
- </item>
- <item>
- <label>단일선택</label>
- <value>2</value>
- </item>
- <item>
- <label>다중선택</label>
- <value>3</value>
- </item>
- <item>
- <label>없음</label>
- <value>-</value>
- </item>
- </choices>
- </col>
- <col ref="amqb_sexflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>공통</label>
- <value>C</value>
- </item>
- <item>
- <label>남</label>
- <value>M</value>
- </item>
- <item>
- <label>여</label>
- <value>F</value>
- </item>
- </choices>
- </col>
- <col ref="amqb_registdd" type="inputdate" style="text-align:center; "/>
- <col ref="amqb_enddd" type="inputdate" style="text-align:center; "/>
- <col checkvalue="Y,N" ref="amqb_useyn" type="checkbox"/>
- <col ref="amqb_supinqrqestid" visibility="hidden"/>
- <col ref="amqb_supinswseqno" visibility="hidden"/>
- <col ref="amqb_supinswcond" visibility="hidden"/>
- <col checkvalue="Y,N" ref="amqb_summyn" type="checkbox"/>
- <col ref="amqb_fstrgstrid" style="text-align:center; "/>
- <col ref="amqb_lastupdtrid" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var Currow = grd_amqb.row;
- model.setValue("/root/hidden/dspcontrol/amqbCurrow", Currow );
- fRetriveAmawList(Currow);
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:75px; x2:660px; y2:75px; "/>
- <line id="line3" class="line_1" style="x1:670px; y1:75px; x2:1190px; y2:75px; "/>
- <button id="button11" class="icon_right" visibility="visible" style="left:903px; top:55px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGridWidthcontrol("amqb" ,"W");
- ]]>
- </script>
- </button>
- <button id="button12" class="icon_left" visibility="visible" style="left:958px; top:55px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGridWidthcontrol("amaw" ,"W");
- ]]>
- </script>
- </button>
- <button id="button13" class="icon_top_direction" visibility="visible" style="left:930px; top:55px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGridWidthcontrol("amqb" ,"N");
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption1" style="left:205px; top:0px; width:216px; height:15px; font-weight:bold; color:#ff0000; vertical-align:top; ">* 문제와 답을 생성하는 화면입니다.</caption>
- </xhtml:body>
- </xhtml:html>
|